]> dgit.raspbian.org Git - gnome-shell.git/commit
panel: Disable menu-toggle shortcuts while top bar is hidden
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Dec 2019 00:00:40 +0000 (01:00 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Fri, 20 Dec 2019 14:20:49 +0000 (14:20 +0000)
commit4f66b301e7027f66233914bfa993bedcbbd3abaa
treee9e56a7d8606a6933d8ce2a27c6593757bfcaf30
parentd1f87ca115c9f7a51a24ce37eef0062ba6069b64
panel: Disable menu-toggle shortcuts while top bar is hidden

We currently handle the case where the indicator itself is disabled
(read: hidden), but not when the entire top bar is invisible (for
instance when the primary monitor is in fullscreen state).

It is odd to pop up a top bar menu without the top bar, so check for
the indicator's mapped- instead of visible state.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2002
js/ui/panel.js